home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / T / TC Prog Guide.cpt / picture ƒ / pict.h < prev    next >
Text File  |  1991-02-18  |  697b  |  31 lines

  1. /*
  2. *    FILE:        pict.h
  3. *    AUTHOR:        R. Gonzalez
  4. *    CREATED:    November 7, 1990
  5. *
  6. *    Defines generic pict application class.  All picture applications
  7. *    should descend from this class.
  8. */
  9.  
  10. # ifndef    pict_h
  11. # define    pict_h
  12.  
  13. # include    "class.h"
  14. # include    "screen.h"
  15. # include    "backdrop.h"
  16.  
  17. /******************************************************************
  18. *   generic pict application - derived classes should add one or
  19. *    more cameras, projectors, and segments
  20. ******************************************************************/
  21. struct    Generic_Pict:Generic_Class
  22. {
  23.     Screen                *screen;
  24.     Backdrop_Projector    *backdrop;
  25.             
  26.     boolean                init(void);
  27.     virtual void        run(void);
  28.     boolean                destroy(void);
  29. };
  30.  
  31. # endif